package AssetBasicInfo

import (
	"context"

	"property_api/internal/svc"
	"property_api/internal/types"

	"github.com/zeromicro/go-zero/core/logx"
)

type AssetBasicInfoByTimeLogic struct {
	logx.Logger
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

func NewAssetBasicInfoByTimeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AssetBasicInfoByTimeLogic {
	return &AssetBasicInfoByTimeLogic{
		Logger: logx.WithContext(ctx),
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

// AssetBasicInfoByTime AssetBasicInfoByTimeLogic 处理资产基础信息按时间查询的逻辑结构体
func (l *AssetBasicInfoByTimeLogic) AssetBasicInfoByTime(req *types.AssetBasicInfoByTime) (resp *types.Response, err error) {
	// 此处为待实现的功能注释，需要添加按时间查询资产基础信息的业务逻辑
	//查询指定月份,未折旧的资产编码(折旧信息表)
	//查询资产信息(资产信息表)
	return
	// 返回响应结果和可能的错误
}
